package com.hongdee.crm.kpi.service;

import java.util.List;
import java.util.Map;

/**
 * Created by zhangkai on 2017/7/22.
 */
public interface IRealMaintainBackService {
    /***
     * 实际保养回厂
     * @param baseMon
     * @param mDate
     * @param companyId
     * @return
     * @throws Exception
     */
    List byBack(String uid ,String baseMon, String mDate, String companyId) throws Exception;
    /**
     * 基盘回站明细
     * @param baseMon
     * @param mDate
     * @param uid
     * @return
     * @throws Exception
     */
    public Map byBackDetail(String companyId,String baseMon, String mDate, String uid,String id,String type,String start,String limit) throws Exception;
    /**
     * 基盘月时间按销售日期
     * 考核期指定回厂的截止日期，默认为当天，在期间内回厂首保的统计
     * 保回站率
     * @param baseMon
     * @param mDate
     * @param companyId
     * @return
     * @throws Exception
     */
    public List sbBack(String baseMon, String mDate, String companyId) throws Exception;
    /**
     * 基盘月时间按销售日期
     * 考核期指定回厂的截止日期，默认为当天，在期间内回厂首保的统计
     * 首保回站明细
     * @param baseMon
     * @param mDate
     * @param
     * @return
     * @throws Exception
     */
    public Map sbBackDetail(String baseMon, String mDate, String companyId, String id, String type, String start, String limit) throws Exception;
}
